package tech.aistar.design.decorator;

/**
 * 本类用来演示: "包装流"
 *
 * @author: success
 * @date: 2021/3/24 1:55 下午
 */
public class BuDingTea extends Burden{
    public BuDingTea(Milk milk) {
        super(milk);
    }

    @Override
    public double getPrice() {
        return super.getPrice()+10.0d;
    }

    @Override
    public String getBrand() {
        return "布丁奶茶";
    }
}
